﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.Infra.Tools.ServiceRegistration.Entity
{
    public class SubModule : EntityBase
    {
        #region Attributes

        private int? _sub_module_id;
        private string _sub_module_name;
        private int? _port;
        private List<Service> _services;
        private Module _module;

        #endregion

        #region Constructor

        public SubModule()
        {
            _services = new List<Service>();
        }

        #endregion

        #region Properties

        public int? SubModuleId
        {
            get { return _sub_module_id; }
            set { _sub_module_id = value; }
        }

        public string SubModuleName
        {
            get { return _sub_module_name; }
            set { _sub_module_name = value; }
        }

        public int? Port
        {
            get { return _port; }
            set { _port = value; }
        }

        public List<Service> Services
        {
            get { return _services; }
            set { _services = value; }
        }

        public Module Module
        {
            get { return _module; }
            set { _module = value; }
        }

        #endregion
    }
}
